package com.pxxy.mall.product.feign;

import com.pxxy.common.to.es.SkuEsModel;
import com.pxxy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Author zhangjj
 * @since 2024/1/12
 */
@FeignClient(name = "mall-search")
public interface SearchFeignApi {

    @RequestMapping("/search/save/product")
    R productSave(@RequestBody List<SkuEsModel> skuEsModels);

}
